setMaxWidth

open fun setMaxWidth(@Px maxWidth: Int)(source)

Sets the maximum width the progress bar can have.

Parameters

maxWidth

the maximum width to be set, in pixels